#ifndef COLLECTION_H
#define COLLECTION_H

#include <vector.h>
#include "Item.h"
#include "Person.h"

class Collection
{
	public:
		Collection();//Pulls all items/people from storage into the vector classes
		~Collection();//Save data then erase the vectors
		Vector<Item> getItems();
		bool reserveItem(Item item, Person person);
	private:
		Vector<Person> getPeople();
		bool addItem(Item item);
		bool addPerson(Person person);
		bool removeItem(Item item);
		bool removePerson(Person person);
		bool updatePerson(Person person, Person newPerson);
		bool checkOutItem(Item item, Person person);
		Vector<Item> items;
		Vector<Person> people;
		friend class Librarian;
}

#include "Collection.hpp"

#endif
